package com.hisan.freeride.home.model;


import com.hisan.freeride.common.model.BaseModel;

/**
 * 创建时间 : 2017/6/12
 * 创建人：yangyingqi
 * 公司：嘉善和盛网络有限公司
 * 备注：留言列表模板
 */
public class WelfareMessage extends BaseModel {

    /**
     * id : 4
     * user_id : 219
     * comment_id : 1
     * content : 考虑考虑
     * create_time : 2017-11-24 14:35:30
     * user : {"id":219,"nickname":"yyq","avatar":"http://freeride.oss-cn-qingdao.aliyuncs.com/20171124/f31ac06cd42d289a2db5f6499ad2b913.png"}
     */

    private int id;
    private int user_id;
    private int comment_id;
    private String content;
    private String create_time;
    private UserBean user;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getComment_id() {
        return comment_id;
    }

    public void setComment_id(int comment_id) {
        this.comment_id = comment_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public static class UserBean {
        /**
         * id : 219
         * nickname : yyq
         * avatar : http://freeride.oss-cn-qingdao.aliyuncs.com/20171124/f31ac06cd42d289a2db5f6499ad2b913.png
         */

        private int id;
        private String nickname;
        private String avatar;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }
}
